package com.wgchao.patientcenter.mapstruct.dto;

import com.wgchao.patientcenter.common.Save;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description  
 * @Author  Wgchao
 * @Date 2019-11-10 
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value=" MdmpGrxxCreateDTO ",description="患者信息-创建")
public class MdmpGrxxCreateDTO implements Serializable {

	private static final long serialVersionUID =  1766497151653802792L;

	/**
	 * 证件编号 -主键
	 */
	@NotNull(message = "证件编号缺失")
	@ApiModelProperty(value="证件编号 -主键",name="idcard", allowEmptyValue = false)
	private String idcard;

	/**
	 * 姓名 
	 */
	@NotNull(message = "证件编号缺失")
	@ApiModelProperty(value="姓名 ",name="name" , allowEmptyValue = false)
	private String name;

	/**
	 * 民族
	 */
	@ApiModelProperty(value="民族",name="mz", allowEmptyValue = true)
	private Long mz;

	/**
	 * 性别
	 */
	@ApiModelProperty(value="性别",name="sex", allowEmptyValue = true)
	private Long sex;

	/**
	 * 联系电话
	 */
	@ApiModelProperty(value="联系电话",name="phone", allowEmptyValue = true)
	private String phone;

	/**
	 * 婚姻状况
	 */
	@ApiModelProperty(value="婚姻状况",name="marry", allowEmptyValue = true)
	private Long marry;

	/**
	 * 教育程度
	 */
	@ApiModelProperty(value="教育程度",name="edu", allowEmptyValue = true)
	private Long edu;

	/**
	 * 户口性质
	 */
	@ApiModelProperty(value="户口性质",name="hkxz", allowEmptyValue = true)
	private Long hkxz;

	/**
	 * 户口地址
	 */
	@ApiModelProperty(value="户口地址",name="hkaddr", allowEmptyValue = true)
	private String hkaddr;

	/**
	 * 联系地址
	 */
	@ApiModelProperty(value="联系地址",name="address", allowEmptyValue = true)
	private String address;


}
